﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;


/**
* @Author: AdinZ
* @Q  Q : 1454269
* @Email:adinz@adinz.com
* @Created: 2014/4/5 23:38:36
*
* */
namespace Novel.Utils
{
    public class BookText
    {
        public static string GetBookText(string Url)
        {
           string txt= AdinZ.Common.NetServer.Get(Url);
           if (txt.Length > 30)
           {
               txt = Regex.Replace(txt, Regex.Escape("\r\n"), "<br>", RegexOptions.IgnoreCase);
               return txt;
           }
           else { return "本章出错了,请与管理员联系修复.感谢你的支持."; }
        }
    }
}
